package com.yuan.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuan.dto.*;
import com.yuan.entity.Orders;
import com.yuan.result.PageResult;
import com.yuan.vo.OrderStatisticsVO;
import com.yuan.vo.OrderSubmitVO;
import com.yuan.vo.OrderVO;

public interface OrderService extends IService<Orders> {
    PageResult conditionSearch(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO statistics();

    OrderVO details(Long id);

    void confirm(OrdersConfirmDTO ordersConfirmDTO);

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    void cancel(OrdersCancelDTO ordersCancelDTO);

    void delivery(Long id);

    void complete(Long id);

    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);
}
